﻿
    using System;
    using System.Collections.Specialized;
    using Utils;

    public partial class Index : FBasePage
    {
        private NameValueCollection _system = new NameValueCollection();
        public SystemConfig sysmodel = new SystemConfig();

        protected override void OnLoad(EventArgs e)
        {
            base.GetRedirect();
            base.OnLoad(e);
            string str = DateTime.Now.DayOfWeek.ToString();
        }

        protected string output()
        {
            if (base.CurrentTeam != null)
            {
                if (base.ASSystem.Needmoretuan == 1)
                {
                    this._system = this.sysmodel.GetSystem();
                    if (this._system != null)
                    {
                        if (this._system["moretuan"] == "1")
                        {
                            return WebSiteHelper.LoadPageString("~/UserControls/treemore2.aspx");
                        }
                        return WebSiteHelper.LoadPageString("~/UserControls/tuanmore.aspx");
                    }
                }
                return WebSiteHelper.LoadPageString("~/UserControls/team_view.aspx");
            }
            return WebSiteHelper.LoadPageString("~/subscribe.aspx");
        }
    }

